package com.luojie.vo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "员工登录返回的数据格式")
public class EmployeeVO {
    private Integer id;
    private String username;
    private String email;
    private Integer role; // 1或 2
    private Integer status; // 1 或 2
    private Boolean isAdmin;
    private Timestamp createdAt;
    private Timestamp updatedAt;
    private String token;
}
